package com.atguigu.cloud.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author bairimengchang
 * @version 1.0
 * @project cloud2024
 * @description 订单数据传输对象
 * @date 2024/9/11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayDTO implements Serializable {

    private Integer id;

    //支付流水号
    private String payNo;

    //订单流水号
    private String orderNo;

    //用户账号ID
    private Integer userId;

    //交易金额
    private BigDecimal amount;
}
